package texture;

import java.util.ArrayList;
import java.util.List;

public class GLColors {
	private final static List<GLColor> values = new ArrayList<GLColor>();

	public final static GLColor AIR = createColor(0, 0, 0, 255);
	public final static GLColor GRASS = createColor(127, 178, 56, 255);
	public final static GLColor SAND = createColor(247, 233, 163, 255);
	public final static GLColor TNT = createColor(255, 0, 0, 255);
	public final static GLColor ICE = createColor(160, 160, 255, 255);
	public final static GLColor IRON = createColor(167, 167, 167, 255);
	public final static GLColor FOLIAGE = createColor(0, 124, 0, 255);
	public final static GLColor SNOW = createColor(255, 255, 255, 255);
	public final static GLColor CLAY = createColor(164, 168, 184, 255);
	public final static GLColor DIRT = createColor(183, 106, 47, 255);
	public final static GLColor STONE = createColor(112, 112, 112, 255);
	public final static GLColor WATER = createColor(64, 64, 255, 255);
	public final static GLColor WOOD = createColor(104, 83, 50, 255);

	public static final GLColor TRANSPARENT = createColor(0, 0, 0, 0);
	public static final GLColor WHITE = createColor(255, 255, 255, 255);
	public static final GLColor YELLOW = createColor(255, 255, 0, 255);
	public static final GLColor RED = createColor(255, 0, 0, 255);
	public static final GLColor BLUE = createColor(0, 0, 255, 255);
	public static final GLColor GREEN = createColor(0, 255, 0, 255);

	public static final GLColor BLACK = createColor(0, 0, 0, 255);
	public static final GLColor GRAY = createColor(127, 127, 127, 255);
	public static final GLColor CYAN = createColor(0, 255, 255, 255);
	public static final GLColor DARK_GRAY = createColor(76, 76, 76, 255);
	public static final GLColor LIGHT_GRAY = createColor(178, 178, 178, 255);

	public final static GLColor PINK = createColor(255, 175, 175, 255);
	public final static GLColor ORANGE = createColor(255, 200, 0, 255);
	public final static GLColor MAGENTA = createColor(255, 0, 255, 255);

	private final static GLColor createColor(int r, int g, int b, int a) {
		GLColor color = new GLColor(r, g, b, a);
		values.add(color);
		return color;
	}

	/**
	 * public static void main(String[] args) { System.out.println("starting"); for (GLColor c : GLColors.values) { System.out.println(c.toStringAsInt()); } }
	 **/
}
